import { AppRegistry } from 'react-native';
import App from './App';
import RNdemo from './RNdemo'
import RNscroll from './RNdemo-scroll'//ScrollView组件
import RNStackNavigator from './src/assets/demo/StackNavigator'//自定义title、navigator属性、以及全屏模式
import RNTabNavigator from './src/assets/demo/TabNavigator'
import RNDrawerNavigator from './src/assets/demo/DrawerNavigator'//抽屉式导航
import RNAsyncStorage from './src/assets/demo/AsyncStorage'//路由防御认证
import RNTopColor from './src/assets/demo/topcolor'//设置顶部状态栏颜色
 
import Text from './src/assets/demo/text'


AppRegistry.registerComponent('RNdemo', () => App);
// RN中通过这个index文件中 AppRegistry方法将react资源打包到app中显示：
// 需要注意一点registerComponent中第一个是项目文件夹的名字，不可以随意修改，后一个参数是对应的入口页面
